package com.gitee.magic.framework.base.result;

import java.io.Serializable;

import com.gitee.magic.framework.base.result.PageResponse.PageInfo;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author start
 */
public class QueryResult<E> implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Schema(description = "分页数据")
	private E result;
	
	@Schema(description = "分页信息")
	private PageInfo pageInfo;

	public E getResult() {
		return result;
	}

	public void setResult(E result) {
		this.result = result;
	}

	public PageInfo getPageInfo() {
		return pageInfo;
	}

	public void setPageInfo(PageInfo pageInfo) {
		this.pageInfo = pageInfo;
	}

}
